<?php
include_once("../../service/productService.php");
if(isset($_GET["userid"])&&isset($_GET["proid"])){
    if(unlikeProduct($_GET["proid"],$_GET["userid"])>0)
        $arr = array('success' => '1');
    else{
        $arr = array('success' => '0');
    }
    echo json_encode($arr);
}
?>